package inforio.mobile.agricola;

import android.app.Activity;
import android.os.Bundle;
import android.view.View;
import android.widget.Button;



public class frmini extends Activity{
	
	
	  public void onCreate(Bundle savedInstanceState) {
	        super.onCreate(savedInstanceState);
	        setContentView(R.layout.frmini);
	        
	        
	        final Button button = (Button) findViewById(R.id.button1);
	        button.setOnClickListener(new View.OnClickListener() {
	            private DataHelper dh;

				public void onClick(View v) {
	            	
	                   this.dh = new DataHelper(this);
	                   this.dh.deleteAll();
	                   
	                                        }
	        
	                                                         
	                                                              });
	                                                      }

}
